import turtle,math,random
from UsefulTurtleFunctions import *

turtle.hideturtle()
drawRectangle(-75,0,100,100)

def drawDot(x,y,r):
    turtle.penup()
    turtle.goto(x, y)
    turtle.pendown()
    turtle.dot(r)

for i in range(0,100):
    x = random.randint(-125,-25)
    y = random.randint(-50,50)
    drawDot(x,y,3)


drawCircle(50,0,50)
num = 0
while num < 100:
    x = random.randint(0,100)
    y = random.randint(-50,50)
    if ((x-50)**2 + y**2)**0.5<50:
        drawDot(x, y, 3)
        num += 1

turtle.done()